package com.ys.controller.api.business;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ys.entity.business.TccGoodsAllocation;
import com.ys.service.sys.CommonApiService;
import com.ys.vo.LayuiTableVoJA;

@Controller
@RequestMapping("/api/inter/tccGoodsAllocation")
public class ApiInterTccGoodsAllocationController {
	
	@Autowired
	private CommonApiService<TccGoodsAllocation> commonApiService;
	
	@RequestMapping("/search")
	@ResponseBody
	public LayuiTableVoJA search(@ModelAttribute TccGoodsAllocation cond){
		return commonApiService.searchLay(cond);
	}
}